import 'package:Flutter_Demo/ui/pages/home/home_app_bar.dart';
import 'package:Flutter_Demo/ui/pages/home/home_content.dart';
import 'package:Flutter_Demo/ui/pages/home/home_drawer.dart';
import 'package:Flutter_Demo/ui/pages/home/home_drawer_content.dart';
import 'package:flutter/material.dart';

class MYHomeScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: MYHomeAppBar(context),
      body: MYHomeContent(),
//      drawer: Container(
//        width: 250,
//        child: Drawer(
//          child: MYHomeDrawerContent(),
//        )
//      ),

    );
  }
}
/*
// 也可用封装后的首页
class MYHomeScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: MYHomeAppBar(context),
      body: MYHomeContent(),
      drawer: MYHomeDrawer()
    );
  }
}
 */
